package com.elitel.frame.main.dao.polym;

import com.elitel.frame.main.entity.polym.CfgMultRelationField;
import com.elitel.frame.main.entity.polym.CfgMultRelationFieldExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CfgMultRelationFieldMapper {
    long countByExample(CfgMultRelationFieldExample example);

    int deleteByExample(CfgMultRelationFieldExample example);

    int deleteByPrimaryKey(String relationFieldId);

    int insert(CfgMultRelationField record);

    int insertSelective(CfgMultRelationField record);

    List<CfgMultRelationField> selectByExample(CfgMultRelationFieldExample example);

    CfgMultRelationField selectByPrimaryKey(String relationFieldId);

    int updateByExampleSelective(@Param("record") CfgMultRelationField record, @Param("example") CfgMultRelationFieldExample example);

    int updateByExample(@Param("record") CfgMultRelationField record, @Param("example") CfgMultRelationFieldExample example);

    int updateByPrimaryKeySelective(CfgMultRelationField record);

    int updateByPrimaryKey(CfgMultRelationField record);
    
    
    int insertBatch(@Param("entities") List<CfgMultRelationField> entities);

    List<CfgMultRelationField> selectByServiceId(@Param("serviceGuids") List<String> serviceGuids);
}